package com.pda.yuanjing.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Generated;

@Entity(
        indexes = {
                @Index(value = "code", unique = true)
        }
)

public class OutCode {
    @Id(autoincrement = true)
    private Long id;
    private String billID;
    private String productID;
    private String code;
    private boolean xnt = false;
    private boolean flag = false;
@Generated(hash = 319359863)
public OutCode(Long id, String billID, String productID, String code,
        boolean xnt, boolean flag) {
    this.id = id;
    this.billID = billID;
    this.productID = productID;
    this.code = code;
    this.xnt = xnt;
    this.flag = flag;
}
@Generated(hash = 297876568)
public OutCode() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getProductID() {
    return this.productID;
}
public void setProductID(String productID) {
    this.productID = productID;
}
public String getCode() {
    return this.code;
}
public void setCode(String code) {
    this.code = code;
}
public String getBillID() {
    return this.billID;
}
public void setBillID(String billID) {
    this.billID = billID;
}
public boolean getXnt() {
    return this.xnt;
}
public void setXnt(boolean xnt) {
    this.xnt = xnt;
}
public boolean getFlag() {
    return this.flag;
}
public void setFlag(boolean flag) {
    this.flag = flag;
}
}


